package com.quanyue.haircut.order.service;

import com.quanyue.haircut.domain.constant.PayResult;
import com.quanyue.haircut.domain.entity.CardOrder;
import com.quanyue.haircut.domain.entity.User;
import com.quanyue.haircut.order.dto.CardOrderResult;

public interface CardOrderService {
    CardOrderResult create(Integer merchantNo, User user, CardOrder cardOrder, String ip);

    CardOrder findOrderByNo(String orderNo);

    void afterPayComplete(String orderNo, String transactionId, PayResult result);
}
